package com.gpy.hospital.cms.service;

import com.github.pagehelper.PageInfo;
import com.gpy.hospital.cms.pojo.Book;
import com.gpy.hospital.cms.pojo.User;
import com.gpy.hospital.cms.vo.BookVo;
import com.gpy.hospital.common.ServerResponse;

import java.util.List;

public interface IBookService {
    String book(User user, Integer id);

    List<BookVo> getByEmail(String email);

    void deleteById(Integer id);

    PageInfo<Book> getByDoctorId(Integer id, String email, Integer pageNum, Integer pageSize);

    ServerResponse deleteId(Integer id);
}
